package com.sgq.vue.entity.resource;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: 83778
 * @date: 2023-12-27 19:26
 * @desc:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("resource_json_map_weather")
public class JsonMapWeather implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;        //表id 无需映射

    @TableField(value = "weatherApiId")
    private Long  weatherApiId;     // weatherApiId无需映射字段

    private String  nums;         //今日实时请求次数

    @TableField(value = "cityId")
    private String  cityId;

    private String  city;

    private String  date;         //当前日期

    private String  week;

    @TableField(value = "updateTime")
    private String  updateTime;   //更新时间

    private String  wea;          //天气情况

    @TableField(value = "weaImg")
    private String  weaImg;      //天气图片

    private String  tem;        //实况温度

    @TableField(value = "temDay")
    private String  temDay;     //白天温度(高温)

    @TableField(value = "temNight")
    private String  temNight;   //夜间温度(低温)

    private String  win;        //风向

    @TableField(value = "winSpeed")
    private String  winSpeed;   //风力

    @TableField(value = "winMeter")
    private String  winMeter;   //风速

    private String  air;        //空气质量

    private String  pressure;   //气压

    private String  humidity;   //湿度
 }
